//
//  GYPoints.m
//  GoodLuck
//
//  Created by 郭为勇 on 2018/3/17.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYPoints.h"

@implementation GYPoints

+ (NSArray *)loadPointsDetails:(NSArray *)source {
    NSMutableArray *points = [NSMutableArray array];
    for (NSDictionary *dic in source) {
        GYPoints *model =[[GYPoints alloc] initWithDic:dic];
        [points addObject:model];
    }
    
    return points;
}

- (instancetype)initWithDic:(NSDictionary *)dic {
    if ([super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return  self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
@end
